package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class JuiceMaker {
    String brand;
    int price;
    //String fruit;//水果
    //声明是返回值对象的类型
    public String makeJuice(String fruit){
        System.out.println("榨汁机启动。。。");
        System.out.println("搅碎了"+fruit);
        System.out.println("成了"+fruit+"汁");
        System.out.println("停止工作");
        return fruit+"汁";
    }
}
